package com.imooc.business.processor.processor;

import com.imooc.business.util.report.ReportUtil;
import com.imooc.module.reponse.QueryDateMetaResponse;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;

/**
 * @author Tim
 * @description: 学期
 */
@Service
public class QuerySemesterMetaDataProcessor extends  QueryMetaDataProcessor{

    public void process(List<QueryDateMetaResponse.DateView> dateViews){
        Date now = new Date();
        Date minTime = new Date(0L);
        buildDateViews(ReportUtil.generateReportTermItems(minTime, now, 4, false), dateViews);
    }
}
